package com.netbao.ins.service;

import com.netbao.ins.model.Insurance;
import com.netbao.model.PageBean;
import com.netbao.model.PageResult;
import com.netbao.model.Result;
import com.netbao.sys.model.Dict;

import java.util.List;


/**
 * @author Duanps
 * @create 2019-11-04 19:35
 */
public interface InsuranceService {
    PageResult findAll(PageBean pageBean, String cno, String idCard);

    List<Insurance> getInsuList();

    Result getInsuListData(Integer id);

    List<Dict> getInsuranceYear();

    List<Dict> getInsuranceType();

    List<Dict> getInsuranceCompany();

    Result addInsInfo(Insurance insurance);

    Result delete(Long id);
}
